﻿<%@taglib uri="http://java.sun.com/jsp/jstl/sql" prefix="sql"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>

<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<title>Register to join with me</title>
	<meta  charset="UTF-8" />
	<link href="css/style.css" rel="stylesheet" type="text/css" />
	<!--[if IE 6]>
		<link href="css/ie6.css" rel="stylesheet" type="text/css" />
	<![endif]-->
	<!--[if IE 7]>
        <link href="css/ie7.css" rel="stylesheet" type="text/css" />  
	<![endif]-->
	
</head>

<body>
	  <div id="background">
			  <div id="page">
			
					 <div class="header">
						<div class="footer">
							<div class="body">
							  
							  	<!-- include Menu -->
									<jsp:include page="Menu.jsp" flush="True">
										<jsp:param name="page_call"  value="UpdateNews"/>
									</jsp:include>
									
									<div id="content" >
									
									    <img src="images/cotton-flower.jpg" width="726" height="546" alt="" title="">
										<div class="pagetitlebar">
											<span style="margin-left:80px;font-size:15px;">
												<a href="HotNews.jsp" style="color:#ffffff">back to read hot news with me.</a></span>
											</div>
										<div class="pagecontent">
																				
											<table>												
												<tr>
													<td colspan="2"><b>${sessionScope.news.getNewsTitle()}</b></td>
												</tr>
												<tr>
													<td align="right" valign="top" nowrap>รายละเอียด :</td>
													<td>${sessionScope.news.getNewsDetail()}</td>
												</tr>
												
												<c:if test="${sessionScope.news.isHaveAttatchment()}">
													<tr>
														<td align="right" valign="top">ภาพประกอบ :</td>
														<td>
														<img src="HotNewsAttatchImage?newsid=${sessionScope.news.getNewsId()}">
														</td>
													</tr>
												</c:if>

												<tr>
													<td></td>
													<td></td>
												</tr>
												</table>
											
							
								

							</div>
									
									</div>
									
									
						</div>
					 </div>
					 <div class="shadow">&nbsp;</div>
			  </div>    
	  </div>    
	</div>
</body>
</html>